package cn.handong.tool.annotation;


import cn.handong.tool.annotation.validator.NotAllBlankValidator;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(validatedBy = NotAllBlankValidator.class)
public @interface NotAllBlank {
	String message() default "{javax.validation.constraints.Pattern.message}";
	Class<?>[] groups() default {};
	Class<? extends Payload>[] payload() default {};
	String[] fields();
}
